package agentRouter

import (
	"github.com/gin-gonic/gin"
	v1 "hc_server/routers/api/v1/agentV1"
)

func MerchantRouter(router *gin.RouterGroup) {
	router.POST("/info/add", v1.MerchantTempInfoAdd)                   //添加商户基础信息
	router.POST("/shop/add", v1.MerchantTempShopAdd)                   //添加商户门店信息
	router.POST("/legal/add", v1.MerchantTempLegalAdd)                 //添加商户法人信息
	router.POST("/license/add", v1.MerchantTempMerchantLicenseInfoAdd) //添加商户执照信息
	router.POST("/settle/add", v1.MerchantTempBankAdd)                 //添加商户结算信息
	router.POST("/settle/update", v1.MerchantSettleInfoUpdate)         //更新商户结算信息
	router.POST("/shopName/update", v1.MerchantShopNameUpdate)         //更新商户简称信息
	router.POST("/rate/range", v1.MerchantRateRange)                   //商户费率范围查询
	router.POST("/audit/query", v1.MerchantAuditQuery)                 //商户审核结果查询
	router.POST("/wechat/getApprove", v1.MerchantGetWechatApprove)     //获取微信认证查询
	router.POST("/wechat/getAuth", v1.MerchantGetWechatAuth)           //微信授权状态查询
	router.POST("/alipay/getApprove", v1.MerchantGetAlipayApprove)     //获取支付宝认证查询
	router.POST("/alipay/getAuth", v1.MerchantGetAlipayAuth)           //微信支付宝状态查询

	//router.POST("/upload", v1.LianImgUpload)                           //更新商户基础信息
}
